package com.sunwayworld.basemodule.coredata.judgmentbasis.bean;

import com.sunwayworld.framework.data.annotation.Id;
import com.sunwayworld.framework.data.annotation.Table;
import com.sunwayworld.framework.data.annotation.Transient;
import com.sunwayworld.framework.support.domain.Insertable;
import com.sunwayworld.framework.support.domain.AbstractInsertable;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;
import com.alibaba.fastjson.annotation.JSONField;

/**
 * 判定依据方法分析项
 * 
 * @author hul@sunwayworld.com
 * @date 2023-01-09
 */
@Table("T_LIMS_JUDGMENT_BASIS_TM_ANALYTE")
public class LimsJudgmentBasisTmAnalyteBean extends AbstractInsertable<Long> implements Insertable<Long> {

    @Transient
    private static final long serialVersionUID = -82566196618711043L;

    @Id
    private Long id;// 主键
    private Long judgId;// 判定依据id
    private Long judgTestId;// 判定依据工序id
    private Long testMethodId;// 工序方法id
    private Long analyteId;// 分析项Id
    private String analyte;// 分析项
    private String analType;// 分析项类型
    private String createdById;// 制单人编码
    private String createdByName;// 制单人名称
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdTime;// 制单时间
    private String createdByOrgId;// 制单人单位编码
    private String createdByOrgName;// 制单人单位名称

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getJudgId() {
        return judgId;
    }

    public void setJudgId(Long judgId) {
        this.judgId = judgId;
    }

    public Long getJudgTestId() {
        return judgTestId;
    }

    public void setJudgTestId(Long judgTestId) {
        this.judgTestId = judgTestId;
    }

    public Long getTestMethodId() {
        return testMethodId;
    }

    public void setTestMethodId(Long testMethodId) {
        this.testMethodId = testMethodId;
    }

    public Long getAnalyteId() {
        return analyteId;
    }

    public void setAnalyteId(Long analyteId) {
        this.analyteId = analyteId;
    }

    public String getAnalyte() {
        return analyte;
    }

    public void setAnalyte(String analyte) {
        this.analyte = analyte;
    }

    public String getAnalType() {
        return analType;
    }

    public void setAnalType(String analType) {
        this.analType = analType;
    }

    public String getCreatedById() {
        return createdById;
    }

    public void setCreatedById(String createdById) {
        this.createdById = createdById;
    }

    public String getCreatedByName() {
        return createdByName;
    }

    public void setCreatedByName(String createdByName) {
        this.createdByName = createdByName;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    public String getCreatedByOrgId() {
        return createdByOrgId;
    }

    public void setCreatedByOrgId(String createdByOrgId) {
        this.createdByOrgId = createdByOrgId;
    }

    public String getCreatedByOrgName() {
        return createdByOrgName;
    }

    public void setCreatedByOrgName(String createdByOrgName) {
        this.createdByOrgName = createdByOrgName;
    }

}
